<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EDUKIT Developers: Класс TestManager</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="ukit.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EDUKIT Developers
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Руководство программиста</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Создано системой Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Поиск');
});
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_i_e_p.html">IEP</a></li><li class="navelem"><a class="el" href="namespace_i_e_p_1_1_managers.html">Managers</a></li><li class="navelem"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html">TestManager</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Открытые члены</a>  </div>
  <div class="headertitle">
<div class="title">Класс TestManager</div>  </div>
</div><!--header-->
<div class="contents">

<p>Менеджер для работы с тестами  
 <a href="class_i_e_p_1_1_managers_1_1_test_manager.html#details">Подробнее...</a></p>

<p><code>#include &quot;iep/managers/tm.class.php&quot;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Граф наследования:TestManager:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
 <div class="center">
  <img src="class_i_e_p_1_1_managers_1_1_test_manager.png" usemap="#TestManager_map" alt=""/>
  <map id="TestManager_map" name="TestManager_map">
<area href="class_i_e_p_1_1_managers_1_1_i_e_p.html" title="Базовый класс для все остальных менеджеров " alt="IEP" shape="rect" coords="0,0,86,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Открытые члены</h2></td></tr>
<tr class="memitem:a13ff12ffd6c650d20dd22db2bad27273"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#a13ff12ffd6c650d20dd22db2bad27273">add</a> ($test)</td></tr>
<tr class="memdesc:a13ff12ffd6c650d20dd22db2bad27273"><td class="mdescLeft">&#160;</td><td class="mdescRight">Добавляет новый тест  <a href="#a13ff12ffd6c650d20dd22db2bad27273">Подробнее...</a><br /></td></tr>
<tr class="separator:a13ff12ffd6c650d20dd22db2bad27273"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32cf2d082fa42ab61d1d78b2288bd21b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#a32cf2d082fa42ab61d1d78b2288bd21b">getTestsForGroup</a> (int $grp)</td></tr>
<tr class="memdesc:a32cf2d082fa42ab61d1d78b2288bd21b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает все тесты доступные группе  <a href="#a32cf2d082fa42ab61d1d78b2288bd21b">Подробнее...</a><br /></td></tr>
<tr class="separator:a32cf2d082fa42ab61d1d78b2288bd21b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add9cb60747eae18b3df6c7a2349a6e2d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#add9cb60747eae18b3df6c7a2349a6e2d">getTest</a> (int $test_id)</td></tr>
<tr class="memdesc:add9cb60747eae18b3df6c7a2349a6e2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает тест по его идентификатору  <a href="#add9cb60747eae18b3df6c7a2349a6e2d">Подробнее...</a><br /></td></tr>
<tr class="separator:add9cb60747eae18b3df6c7a2349a6e2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30f87e045dfea152f9036f707411e6a7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#a30f87e045dfea152f9036f707411e6a7">getTests</a> (string $teacher_email)</td></tr>
<tr class="memdesc:a30f87e045dfea152f9036f707411e6a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает все тесты, созданные преподавателем  <a href="#a30f87e045dfea152f9036f707411e6a7">Подробнее...</a><br /></td></tr>
<tr class="separator:a30f87e045dfea152f9036f707411e6a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a668659c506924829a7a23bf2cfa3cf48"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#a668659c506924829a7a23bf2cfa3cf48">getAllTests</a> ()</td></tr>
<tr class="memdesc:a668659c506924829a7a23bf2cfa3cf48"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает все созданные тесты  <a href="#a668659c506924829a7a23bf2cfa3cf48">Подробнее...</a><br /></td></tr>
<tr class="separator:a668659c506924829a7a23bf2cfa3cf48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f011f5b363cde002ed4657cceec960e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#a1f011f5b363cde002ed4657cceec960e">isGroupForTest</a> (int $test_id, int $grp_id)</td></tr>
<tr class="memdesc:a1f011f5b363cde002ed4657cceec960e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Проверяет привязанность группы к тесту  <a href="#a1f011f5b363cde002ed4657cceec960e">Подробнее...</a><br /></td></tr>
<tr class="separator:a1f011f5b363cde002ed4657cceec960e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac65c9c144cd75aeee14875428ce12aa2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#ac65c9c144cd75aeee14875428ce12aa2">addQuestion</a> (int $test_id, <a class="el" href="class_i_e_p_1_1_structures_1_1_test_question.html">TestQuestion</a> $question)</td></tr>
<tr class="memdesc:ac65c9c144cd75aeee14875428ce12aa2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Добавляет новый вопрос в тест  <a href="#ac65c9c144cd75aeee14875428ce12aa2">Подробнее...</a><br /></td></tr>
<tr class="separator:ac65c9c144cd75aeee14875428ce12aa2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4472da203f55f7177e9f4fc49f829e36"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#a4472da203f55f7177e9f4fc49f829e36">addAnswer</a> (int $question_id, string $answer)</td></tr>
<tr class="memdesc:a4472da203f55f7177e9f4fc49f829e36"><td class="mdescLeft">&#160;</td><td class="mdescRight">Добавляет ответ к вопросу  <a href="#a4472da203f55f7177e9f4fc49f829e36">Подробнее...</a><br /></td></tr>
<tr class="separator:a4472da203f55f7177e9f4fc49f829e36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3012f6b65bffa4178c4e911da515892b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#a3012f6b65bffa4178c4e911da515892b">getAnswers</a> (int $question_id)</td></tr>
<tr class="memdesc:a3012f6b65bffa4178c4e911da515892b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает все ответы на вопрос  <a href="#a3012f6b65bffa4178c4e911da515892b">Подробнее...</a><br /></td></tr>
<tr class="separator:a3012f6b65bffa4178c4e911da515892b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b9273f71b5e109e896f1af065306682"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#a5b9273f71b5e109e896f1af065306682">changeCaptionTest</a> (int $test_id, string $test_caption)</td></tr>
<tr class="memdesc:a5b9273f71b5e109e896f1af065306682"><td class="mdescLeft">&#160;</td><td class="mdescRight">Изменяет заголовок к тесту  <a href="#a5b9273f71b5e109e896f1af065306682">Подробнее...</a><br /></td></tr>
<tr class="separator:a5b9273f71b5e109e896f1af065306682"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2b5b6c33cccf39064d47c8bdf26f833"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#ae2b5b6c33cccf39064d47c8bdf26f833">changeSubjectTest</a> (int $test_id, int $subject_id)</td></tr>
<tr class="memdesc:ae2b5b6c33cccf39064d47c8bdf26f833"><td class="mdescLeft">&#160;</td><td class="mdescRight">Изменяет предмет, по которому идёт тестирование  <a href="#ae2b5b6c33cccf39064d47c8bdf26f833">Подробнее...</a><br /></td></tr>
<tr class="separator:ae2b5b6c33cccf39064d47c8bdf26f833"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92869848722478b76a38c7ce40cadb71"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#a92869848722478b76a38c7ce40cadb71">changeCaptionQuestion</a> (int $question_id, string $new_caption)</td></tr>
<tr class="memdesc:a92869848722478b76a38c7ce40cadb71"><td class="mdescLeft">&#160;</td><td class="mdescRight">Изменяет заголовок вопроса  <a href="#a92869848722478b76a38c7ce40cadb71">Подробнее...</a><br /></td></tr>
<tr class="separator:a92869848722478b76a38c7ce40cadb71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d4f5cd908fc584101a5a6a3e1e970be"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#a0d4f5cd908fc584101a5a6a3e1e970be">changeRAnswerQuestion</a> (int $question_id, string $new_RAnswer)</td></tr>
<tr class="memdesc:a0d4f5cd908fc584101a5a6a3e1e970be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Изменяет правильный ответ на вопрос  <a href="#a0d4f5cd908fc584101a5a6a3e1e970be">Подробнее...</a><br /></td></tr>
<tr class="separator:a0d4f5cd908fc584101a5a6a3e1e970be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8e47b91eb0fa218814ceb975dcdf325"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#ad8e47b91eb0fa218814ceb975dcdf325">changeCaptionAnswer</a> (int $answer_id, string $new_answer)</td></tr>
<tr class="memdesc:ad8e47b91eb0fa218814ceb975dcdf325"><td class="mdescLeft">&#160;</td><td class="mdescRight">Изменяет ответ на вопрос  <a href="#ad8e47b91eb0fa218814ceb975dcdf325">Подробнее...</a><br /></td></tr>
<tr class="separator:ad8e47b91eb0fa218814ceb975dcdf325"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace9f0af4f1996b0becf3d84899e88098"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#ace9f0af4f1996b0becf3d84899e88098">setGroup</a> (int $test_id, int $test_grp)</td></tr>
<tr class="memdesc:ace9f0af4f1996b0becf3d84899e88098"><td class="mdescLeft">&#160;</td><td class="mdescRight">Назначает группу на тест  <a href="#ace9f0af4f1996b0becf3d84899e88098">Подробнее...</a><br /></td></tr>
<tr class="separator:ace9f0af4f1996b0becf3d84899e88098"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7de38e28dd08efe158efd860d4ef87e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#ae7de38e28dd08efe158efd860d4ef87e">unsetGroup</a> (int $test_id, int $test_grp)</td></tr>
<tr class="memdesc:ae7de38e28dd08efe158efd860d4ef87e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Снимает группу с теста  <a href="#ae7de38e28dd08efe158efd860d4ef87e">Подробнее...</a><br /></td></tr>
<tr class="separator:ae7de38e28dd08efe158efd860d4ef87e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3a436df36884cdfc6558dbf55169494"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#ab3a436df36884cdfc6558dbf55169494">removeQuestion</a> (int $question_id)</td></tr>
<tr class="memdesc:ab3a436df36884cdfc6558dbf55169494"><td class="mdescLeft">&#160;</td><td class="mdescRight">Удаляет вопрос  <a href="#ab3a436df36884cdfc6558dbf55169494">Подробнее...</a><br /></td></tr>
<tr class="separator:ab3a436df36884cdfc6558dbf55169494"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a178af18da6633283659a6c4e0e0c1469"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#a178af18da6633283659a6c4e0e0c1469">removeAnswer</a> (int $answer_id)</td></tr>
<tr class="memdesc:a178af18da6633283659a6c4e0e0c1469"><td class="mdescLeft">&#160;</td><td class="mdescRight">Удаляет ответ на вопрос  <a href="#a178af18da6633283659a6c4e0e0c1469">Подробнее...</a><br /></td></tr>
<tr class="separator:a178af18da6633283659a6c4e0e0c1469"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ee75cad8d9bad95e38c03ecb5a5b1e7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#a8ee75cad8d9bad95e38c03ecb5a5b1e7">putStudentAnswer</a> (<a class="el" href="class_i_e_p_1_1_structures_1_1_student_answer.html">StudentAnswer</a> $student_answer)</td></tr>
<tr class="memdesc:a8ee75cad8d9bad95e38c03ecb5a5b1e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Записывает результаты прохождения теста  <a href="#a8ee75cad8d9bad95e38c03ecb5a5b1e7">Подробнее...</a><br /></td></tr>
<tr class="separator:a8ee75cad8d9bad95e38c03ecb5a5b1e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b64af8de6bbb7e1b940967e0b2f89f6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#a9b64af8de6bbb7e1b940967e0b2f89f6">getStudentAnswers</a> (int $student_test_id)</td></tr>
<tr class="memdesc:a9b64af8de6bbb7e1b940967e0b2f89f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает все ответы к пройденному тесту  <a href="#a9b64af8de6bbb7e1b940967e0b2f89f6">Подробнее...</a><br /></td></tr>
<tr class="separator:a9b64af8de6bbb7e1b940967e0b2f89f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09714c6090db861a54fe5444a1ea3973"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#a09714c6090db861a54fe5444a1ea3973">getStudentTest</a> (string $student_email, int $student_test)</td></tr>
<tr class="memdesc:a09714c6090db861a54fe5444a1ea3973"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает тест, пройденный студентом  <a href="#a09714c6090db861a54fe5444a1ea3973">Подробнее...</a><br /></td></tr>
<tr class="separator:a09714c6090db861a54fe5444a1ea3973"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad661a313b9693703657fb447c9c1593d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#ad661a313b9693703657fb447c9c1593d">getStudentTests</a> (string $student_email)</td></tr>
<tr class="memdesc:ad661a313b9693703657fb447c9c1593d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает все пройденные тесты  <a href="#ad661a313b9693703657fb447c9c1593d">Подробнее...</a><br /></td></tr>
<tr class="separator:ad661a313b9693703657fb447c9c1593d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9c77b6e36b6bac1cad932e7988fd87f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#af9c77b6e36b6bac1cad932e7988fd87f">getStudentsResult</a> (string $teacher_email)</td></tr>
<tr class="separator:af9c77b6e36b6bac1cad932e7988fd87f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b7b44be881506dd428812872fceaaae"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_test_manager.html#a2b7b44be881506dd428812872fceaaae">remove</a> ($test_id)</td></tr>
<tr class="memdesc:a2b7b44be881506dd428812872fceaaae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Удаляет тест  <a href="#a2b7b44be881506dd428812872fceaaae">Подробнее...</a><br /></td></tr>
<tr class="separator:a2b7b44be881506dd428812872fceaaae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p')"><img src="closed.png" alt="-"/>&#160;Открытые члены унаследованные от <a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html">IEP</a></td></tr>
<tr class="memitem:aad6f240442b7c2c49d009084c59be075 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#aad6f240442b7c2c49d009084c59be075">__construct</a> (\PDO $<a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#ae51244ccee8b1932cc60c3869d426f66">dbc</a>)</td></tr>
<tr class="memdesc:aad6f240442b7c2c49d009084c59be075 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Задаёт контроллер базы данных  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#aad6f240442b7c2c49d009084c59be075">Подробнее...</a><br /></td></tr>
<tr class="separator:aad6f240442b7c2c49d009084c59be075 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8911f29c813a66f13e805af3afea5c2b inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a8911f29c813a66f13e805af3afea5c2b">setDBC</a> ($<a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#ae51244ccee8b1932cc60c3869d426f66">dbc</a>)</td></tr>
<tr class="memdesc:a8911f29c813a66f13e805af3afea5c2b inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Задаёт контроллер базы данных  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a8911f29c813a66f13e805af3afea5c2b">Подробнее...</a><br /></td></tr>
<tr class="separator:a8911f29c813a66f13e805af3afea5c2b inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae51244ccee8b1932cc60c3869d426f66 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#ae51244ccee8b1932cc60c3869d426f66">dbc</a> ()</td></tr>
<tr class="memdesc:ae51244ccee8b1932cc60c3869d426f66 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает контроллер базы данных  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#ae51244ccee8b1932cc60c3869d426f66">Подробнее...</a><br /></td></tr>
<tr class="separator:ae51244ccee8b1932cc60c3869d426f66 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9307862af9ee08f7f911c98ef756642d inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a9307862af9ee08f7f911c98ef756642d">query</a> (string $sql, array $params=array())</td></tr>
<tr class="memdesc:a9307862af9ee08f7f911c98ef756642d inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Выполняет запрос  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a9307862af9ee08f7f911c98ef756642d">Подробнее...</a><br /></td></tr>
<tr class="separator:a9307862af9ee08f7f911c98ef756642d inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a1b761c901432b2bfd7fc4e5e75a6bd inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a5a1b761c901432b2bfd7fc4e5e75a6bd">getLogs</a> ()</td></tr>
<tr class="memdesc:a5a1b761c901432b2bfd7fc4e5e75a6bd inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает все записи логов  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a5a1b761c901432b2bfd7fc4e5e75a6bd">Подробнее...</a><br /></td></tr>
<tr class="separator:a5a1b761c901432b2bfd7fc4e5e75a6bd inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09f62e401b1e20f2796363d272aea18d inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a09f62e401b1e20f2796363d272aea18d">removeLogs</a> (int $log_id)</td></tr>
<tr class="memdesc:a09f62e401b1e20f2796363d272aea18d inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Удаляет запись лога  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a09f62e401b1e20f2796363d272aea18d">Подробнее...</a><br /></td></tr>
<tr class="separator:a09f62e401b1e20f2796363d272aea18d inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5718dddc9c96c76cbcea478ce593dedb inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a5718dddc9c96c76cbcea478ce593dedb">add</a> ($data)</td></tr>
<tr class="memdesc:a5718dddc9c96c76cbcea478ce593dedb inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Добавление каких-либо данных в базу данных  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a5718dddc9c96c76cbcea478ce593dedb">Подробнее...</a><br /></td></tr>
<tr class="separator:a5718dddc9c96c76cbcea478ce593dedb inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca74d656488fa3f2b28401b80b1f79c9 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#aca74d656488fa3f2b28401b80b1f79c9">remove</a> ($what)</td></tr>
<tr class="memdesc:aca74d656488fa3f2b28401b80b1f79c9 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Удаление каких-либо данными из базы данных  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#aca74d656488fa3f2b28401b80b1f79c9">Подробнее...</a><br /></td></tr>
<tr class="separator:aca74d656488fa3f2b28401b80b1f79c9 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Подробное описание</h2>
<div class="textblock"><p>Менеджер для работы с тестами </p>
<dl class="section author"><dt>Автор</dt><dd>pmswga </dd></dl>
<dl class="section version"><dt>Версия</dt><dd>1.0 </dd></dl>
</div><h2 class="groupheader">Методы</h2>
<a id="a13ff12ffd6c650d20dd22db2bad27273"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13ff12ffd6c650d20dd22db2bad27273">&#9670;&nbsp;</a></span>add()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">add </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$test</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Добавляет новый тест </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$test</td><td>- Тест </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Заметки</dt><dd>Объект класса Test </dd></dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="a4472da203f55f7177e9f4fc49f829e36"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4472da203f55f7177e9f4fc49f829e36">&#9670;&nbsp;</a></span>addAnswer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">addAnswer </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$question_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$answer</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Добавляет ответ к вопросу </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$question_id</td><td>- Идентификатор вопроса </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$answer</td><td>- Ответ </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="ac65c9c144cd75aeee14875428ce12aa2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac65c9c144cd75aeee14875428ce12aa2">&#9670;&nbsp;</a></span>addQuestion()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">addQuestion </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$test_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_i_e_p_1_1_structures_1_1_test_question.html">TestQuestion</a>&#160;</td>
          <td class="paramname"><em>$question</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Добавляет новый вопрос в тест </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$test_id</td><td>- Идентификатор теста </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$question</td><td>- Вопрос </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Заметки</dt><dd>Объект класса TestQuestion </dd></dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="ad8e47b91eb0fa218814ceb975dcdf325"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8e47b91eb0fa218814ceb975dcdf325">&#9670;&nbsp;</a></span>changeCaptionAnswer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">changeCaptionAnswer </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$answer_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$new_answer</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Изменяет ответ на вопрос </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$answer_id</td><td>- Идентификатор ответа </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$new_answer</td><td>- Новый ответ </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="a92869848722478b76a38c7ce40cadb71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92869848722478b76a38c7ce40cadb71">&#9670;&nbsp;</a></span>changeCaptionQuestion()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">changeCaptionQuestion </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$question_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$new_caption</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Изменяет заголовок вопроса </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$question_id</td><td>- Идентификатор теста </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$new_caption</td><td>- Новый заголовок вопроса </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="a5b9273f71b5e109e896f1af065306682"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b9273f71b5e109e896f1af065306682">&#9670;&nbsp;</a></span>changeCaptionTest()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">changeCaptionTest </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$test_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$test_caption</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Изменяет заголовок к тесту </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$test_id</td><td>- Идентификатор теста </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$test_caption</td><td>- Новый заголовок теста </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="a0d4f5cd908fc584101a5a6a3e1e970be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d4f5cd908fc584101a5a6a3e1e970be">&#9670;&nbsp;</a></span>changeRAnswerQuestion()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">changeRAnswerQuestion </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$question_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$new_RAnswer</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Изменяет правильный ответ на вопрос </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$question_id</td><td>- Идентификатор теста </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$new_RAnswer</td><td>- Новый правильный ответ </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="ae2b5b6c33cccf39064d47c8bdf26f833"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2b5b6c33cccf39064d47c8bdf26f833">&#9670;&nbsp;</a></span>changeSubjectTest()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">changeSubjectTest </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$test_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$subject_id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Изменяет предмет, по которому идёт тестирование </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$test_id</td><td>- Идентификатор теста </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$subject_id</td><td>- Идентификатор предмета </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="a668659c506924829a7a23bf2cfa3cf48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a668659c506924829a7a23bf2cfa3cf48">&#9670;&nbsp;</a></span>getAllTests()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAllTests </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает все созданные тесты </p>
<dl class="section return"><dt>Возвращает</dt><dd>Тесты </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Массив с объектами класса Test </dd></dl>

</div>
</div>
<a id="a3012f6b65bffa4178c4e911da515892b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3012f6b65bffa4178c4e911da515892b">&#9670;&nbsp;</a></span>getAnswers()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAnswers </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$question_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает все ответы на вопрос </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$question_id</td><td>- Идентификатор теста </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>Ответы </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Ассоциативнный массив </dd></dl>

</div>
</div>
<a id="a9b64af8de6bbb7e1b940967e0b2f89f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b64af8de6bbb7e1b940967e0b2f89f6">&#9670;&nbsp;</a></span>getStudentAnswers()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getStudentAnswers </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$student_test_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает все ответы к пройденному тесту </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$student_test_id</td><td>- Идентификатор пройденного теста </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>Ответы студента </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Ассоциативнный массив </dd></dl>

</div>
</div>
<a id="af9c77b6e36b6bac1cad932e7988fd87f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9c77b6e36b6bac1cad932e7988fd87f">&#9670;&nbsp;</a></span>getStudentsResult()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getStudentsResult </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$teacher_email</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a09714c6090db861a54fe5444a1ea3973"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09714c6090db861a54fe5444a1ea3973">&#9670;&nbsp;</a></span>getStudentTest()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getStudentTest </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$student_email</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$student_test</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает тест, пройденный студентом </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$student_email</td><td>- Электронная почта студента </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$student_test</td><td>- Идентификатор пройденного теста </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>Результат пройденного теста </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Объект класса StudentTest </dd></dl>

</div>
</div>
<a id="ad661a313b9693703657fb447c9c1593d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad661a313b9693703657fb447c9c1593d">&#9670;&nbsp;</a></span>getStudentTests()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getStudentTests </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$student_email</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает все пройденные тесты </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$student_email</td><td>- Электронная почта студента </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>Пройденные тесты </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Массив с объектами класса StudentTest </dd></dl>

</div>
</div>
<a id="add9cb60747eae18b3df6c7a2349a6e2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add9cb60747eae18b3df6c7a2349a6e2d">&#9670;&nbsp;</a></span>getTest()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getTest </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$test_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает тест по его идентификатору </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$test_id</td><td>- Идентификатор теста </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>Тест </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Объект класса Test </dd></dl>

</div>
</div>
<a id="a30f87e045dfea152f9036f707411e6a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30f87e045dfea152f9036f707411e6a7">&#9670;&nbsp;</a></span>getTests()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getTests </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$teacher_email</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает все тесты, созданные преподавателем </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$teacher_email</td><td>- Электронная почта преподавателя </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>Тесты </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Массив с объектами класса Test </dd></dl>

</div>
</div>
<a id="a32cf2d082fa42ab61d1d78b2288bd21b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32cf2d082fa42ab61d1d78b2288bd21b">&#9670;&nbsp;</a></span>getTestsForGroup()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getTestsForGroup </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$grp</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает все тесты доступные группе </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$grp</td><td>- Идентификатор группы </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>Тесты </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Массив с объектами класса Test </dd></dl>

</div>
</div>
<a id="a1f011f5b363cde002ed4657cceec960e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f011f5b363cde002ed4657cceec960e">&#9670;&nbsp;</a></span>isGroupForTest()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">isGroupForTest </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$test_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$grp_id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Проверяет привязанность группы к тесту </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$test_id</td><td>- Идентификатор теста </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$grp_id</td><td>- Идентификатор группы </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE, FALSE </dd></dl>
<dl class="section warning"><dt>Предупреждения</dt><dd>Возвращает не bool, а int </dd></dl>

</div>
</div>
<a id="a8ee75cad8d9bad95e38c03ecb5a5b1e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ee75cad8d9bad95e38c03ecb5a5b1e7">&#9670;&nbsp;</a></span>putStudentAnswer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">putStudentAnswer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_i_e_p_1_1_structures_1_1_student_answer.html">StudentAnswer</a>&#160;</td>
          <td class="paramname"><em>$student_answer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Записывает результаты прохождения теста </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$student_answer</td><td>- ответы студента </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Заметки</dt><dd>Объект класса StudentAnswer </dd></dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="a2b7b44be881506dd428812872fceaaae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b7b44be881506dd428812872fceaaae">&#9670;&nbsp;</a></span>remove()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">remove </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$test_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Удаляет тест </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$test_id</td><td>- Идентификатор теста </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="a178af18da6633283659a6c4e0e0c1469"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a178af18da6633283659a6c4e0e0c1469">&#9670;&nbsp;</a></span>removeAnswer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">removeAnswer </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$answer_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Удаляет ответ на вопрос </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$answer_id</td><td>- Идентификатор ответа </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="ab3a436df36884cdfc6558dbf55169494"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3a436df36884cdfc6558dbf55169494">&#9670;&nbsp;</a></span>removeQuestion()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">removeQuestion </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$question_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Удаляет вопрос </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$question_id</td><td>- Идентификатор вопроса </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="ace9f0af4f1996b0becf3d84899e88098"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace9f0af4f1996b0becf3d84899e88098">&#9670;&nbsp;</a></span>setGroup()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">setGroup </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$test_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$test_grp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Назначает группу на тест </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$test_id</td><td>- Идентификатор теста </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$test_grp</td><td>- Идентификатор группы </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="ae7de38e28dd08efe158efd860d4ef87e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7de38e28dd08efe158efd860d4ef87e">&#9670;&nbsp;</a></span>unsetGroup()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsetGroup </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$test_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$test_grp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Снимает группу с теста </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$test_id</td><td>- Идентификатор теста </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$test_grp</td><td>- Идентификатор группы </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<hr/>Объявления и описания членов класса находятся в файле:<ul>
<li>iep/managers/<a class="el" href="tm_8class_8php.html">tm.class.php</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Документация по EDUKIT Developers. Последние изменения: Вт 17 Окт 2017 18:09:13. Создано системой &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
